package com.wk1un2.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wk1un2.entity.ProductPict;

public interface ProductPictMapper {
	public List<ProductPict> getAll(@Param("page") int page, @Param("limit") int limit, @Param("p_name") String p_name);

	public List<Map<String, Object>> getPict(@Param("p_id") Integer p_id, @Param("pp_type") Integer pp_type);

	public Integer count();

	public Integer add(Map<String, Object> map);

	public Integer update(Map<String, Object> map);

	public Integer delete(@Param("pp_id") int pp_id);
}